import service from '@/utils/tjrequest'
export const commonApi = (data: any) => {
    return service.post('/common', data)
}
//开灯模拟
export const moniOpenLight = (data: object) => {
    return service({
        url: '/moniOpenLight',
        method:'POST',
        data
    })
}

//视角到2F
export const visualTo2F = (data: object) => {
    return service({
        url: '/visualTo2F',
        method:'POST',
        data
    })
}
//灯光设备标记打开
export const showLightNote = (data: object) => {
    return service({
        url: '/showLightNote',
        method:'POST',
        data
    })
}
//灯光设备标记关闭
export const closeLightControl = (data: object) => {
    return service({
        url: '/closeLightControl',
        method:'POST',
        data
    })
}
//空调设备标记关闭
export const closeAirControl = (data: object) => {
    return service({
        url: '/closeAirControl',
        method:'POST',
        data
    })
}
export const showAirNote = (data: object) => {
    return service({
        url: '/showAirNote',
        method:'POST',
        data
    })
}
//人员巡检
export const patrol = (data: object) => {
    return service({
        url: '/patrol',
        method:'POST',
        data
    })
}
export const showLightOneControl = (data: object) => {
    return service({
        url: '/showLightOneControl',
        method:'POST',
        data
    })
}

export const showAirOneControl = (data: object) => {
    return service({
        url: '/showAirOneControl',
        method:'POST',
        data
    })
}
export const closeAirOneControl = (data: object) => {
    return service({
        url: '/closeAirOneControl',
        method:'POST',
        data
    })
}
export const closeLightOneControl = (data: object) => {
    return service({
        url: '/closeLightOneControl',
        method:'POST',
        data
    })
}
export const logistics = (data: object) => {
    return service({
        url: '/logistics',
        method:'POST',
        data
    })
} 
export const robotLine1 = (data: object) => {
    return service({
        url: '/robotLine1',
        method:'POST',
        data
    })
} 
export const robotLine2 = (data: object) => {
    return service({
        url: '/robotLine2',
        method:'POST',
        data
    })
} 
export const robotLine3 = (data: object) => {
    return service({
        url: '/robotLine3',
        method:'POST',
        data
    })
} 
export const closeRobotLine1 = (data: object) => {
    return service({
        url: '/robotLine3',
        method:'POST',
        data
    })
} 
export const closeRobotLine2 = (data: object) => {
    return service({
        url: '/robotLine3',
        method:'POST',
        data
    })
} 
export const closeRobotLine3 = (data: object) => {
    return service({
        url: '/robotLine3',
        method:'POST',
        data
    })
} 
export const logisticsClose = (data: object) => {
    return service({
        url: '/logisticsClose',
        method:'POST',
        data
    })
} 
//告警视角
export const AlarmPerspective = (data: object) => {
    return service({
        url: '/AlarmPerspective',
        method:'POST',
        data
    })
} 
//智慧停车视角
export const smartAccess = (data: object) => {
    return service({
        url: '/smartAccess',
        method:'POST',
        data
    })
} 
//综合态势设备视角
export const ControlPerspective = (data: object) => {
    return service({
        url: '/ControlPerspective',
        method:'POST',
        data
    })
} 
//楼层空间
export const floorSpace = (data: object) => {
    return service({
        url: '/floorSpace',
        method:'POST',
        data
    })
}